package com.ddstation.user.health_file.entity;

import javax.persistence.Table;
import java.util.Date;

@Table(name = "dd_record_base_info")
public class DdRecordBaseInfoEntity extends DdRecordBaseInfoNullEntity{
	private String id;
	private String name;
	private String namePy;
	private String relationShip;
	private Integer gender;
	private Integer province1;
	private Integer city1;
	private Integer county1;
	private String location;
	private Date birthday;
	private Integer age;
	private Integer ageMonth;
	private Float height;
	private Float weight;
	private String phone;
	private String email;
	private String weixin;
	private Integer percent;
	private String percentTmp;
	private String nation;
	private String province;
	private String city;
	private String idCard; // 身份证
	private String memberId; // 会员id
	private Integer bloodType;
	private Integer marriageId; // 婚姻状况
	private Integer educationId;// 学历
	private Integer professionId;// 职业
	private Integer insuranceId;// 医疗保险
	private String companyName; // 工作单位
	private String fimalyAddr; // 家庭住址
	private Integer status;// 0:正常 1：删除
	
	// add by zhengxb start 2018.6.15 -------------------------------
	private String customerSource1;// 客户来源1
	private String customerSource2;// 客户来源2
	// add by zhengxb end 2018.6.15 -------------------------------
	
	private String uid;
	private Integer childId;
	private String userUUID; // uuid childid 组合加密信息 页面转递值时使用
	private int hospitalId;
	private String openId;
	private String institutionId;
	private Date createTm;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRelationShip() {
		return relationShip;
	}
	public void setRelationShip(String relationShip) {
		this.relationShip = relationShip;
	}
	public Integer getGender() {
		return gender;
	}
	public void setGender(Integer gender) {
		this.gender = gender;
	}
	public Integer getProvince1() {
		return province1;
	}
	public void setProvince1(Integer province1) {
		this.province1 = province1;
	}
	public Integer getCity1() {
		return city1;
	}
	public void setCity1(Integer city1) {
		this.city1 = city1;
	}
	public Integer getCounty1() {
		return county1;
	}
	public void setCounty1(Integer county1) {
		this.county1 = county1;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Integer getAgeMonth() {
		return ageMonth;
	}
	public void setAgeMonth(Integer ageMonth) {
		this.ageMonth = ageMonth;
	}
	public Float getHeight() {
		return height;
	}
	public void setHeight(Float height) {
		this.height = height;
	}
	public Float getWeight() {
		return weight;
	}
	public void setWeight(Float weight) {
		this.weight = weight;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getWeixin() {
		return weixin;
	}
	public void setWeixin(String weixin) {
		this.weixin = weixin;
	}
	public Integer getPercent() {
		return percent;
	}
	public void setPercent(Integer percent) {
		this.percent = percent;
	}
	public String getPercentTmp() {
		return percentTmp;
	}
	public void setPercentTmp(String percentTmp) {
		this.percentTmp = percentTmp;
	}
	public String getNation() {
		return nation;
	}
	public void setNation(String nation) {
		this.nation = nation;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getIdCard() {
		return idCard;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	public String getMemberId() {
		return memberId;
	}
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}
	public Integer getBloodType() {
		return bloodType;
	}
	public void setBloodType(Integer bloodType) {
		this.bloodType = bloodType;
	}
	public Integer getMarriageId() {
		return marriageId;
	}
	public void setMarriageId(Integer marriageId) {
		this.marriageId = marriageId;
	}
	public Integer getEducationId() {
		return educationId;
	}
	public void setEducationId(Integer educationId) {
		this.educationId = educationId;
	}
	public Integer getProfessionId() {
		return professionId;
	}
	public void setProfessionId(Integer professionId) {
		this.professionId = professionId;
	}
	public Integer getInsuranceId() {
		return insuranceId;
	}
	public void setInsuranceId(Integer insuranceId) {
		this.insuranceId = insuranceId;
	}
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public String getFimalyAddr() {
		return fimalyAddr;
	}
	public void setFimalyAddr(String fimalyAddr) {
		this.fimalyAddr = fimalyAddr;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getCustomerSource1() {
		return customerSource1;
	}
	public void setCustomerSource1(String customerSource1) {
		this.customerSource1 = customerSource1;
	}
	public String getCustomerSource2() {
		return customerSource2;
	}
	public void setCustomerSource2(String customerSource2) {
		this.customerSource2 = customerSource2;
	}
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public Integer getChildId() {
		return childId;
	}
	public void setChildId(Integer childId) {
		this.childId = childId;
	}
	public String getUserUUID() {
		return userUUID;
	}
	public void setUserUUID(String userUUID) {
		this.userUUID = userUUID;
	}
	public int getHospitalId() {
		return hospitalId;
	}
	public void setHospitalId(int hospitalId) {
		this.hospitalId = hospitalId;
	}
	public String getOpenId() {
		return openId;
	}
	public void setOpenId(String openId) {
		this.openId = openId;
	}
	public String getInstitutionId() {
		return institutionId;
	}
	public void setInstitutionId(String institutionId) {
		this.institutionId = institutionId;
	}
	public String getNamePy() {
		return namePy;
	}
	public void setNamePy(String namePy) {
		this.namePy = namePy;
	}
	public Date getCreateTm() {
		return createTm;
	}
	public void setCreateTm(Date createTm) {
		this.createTm = createTm;
	}
	@Override
	public String toString() {
		return "DdRecordBaseInfoEntity [id=" + id + ", name=" + name + ", namePy=" + namePy + ", relationShip="
				+ relationShip + ", gender=" + gender + ", province1=" + province1 + ", city1=" + city1 + ", county1="
				+ county1 + ", location=" + location + ", birthday=" + birthday + ", age=" + age + ", ageMonth="
				+ ageMonth + ", height=" + height + ", weight=" + weight + ", phone=" + phone + ", email=" + email
				+ ", weixin=" + weixin + ", percent=" + percent + ", percentTmp=" + percentTmp + ", nation=" + nation
				+ ", province=" + province + ", city=" + city + ", idCard=" + idCard + ", memberId=" + memberId
				+ ", bloodType=" + bloodType + ", marriageId=" + marriageId + ", educationId=" + educationId
				+ ", professionId=" + professionId + ", insuranceId=" + insuranceId + ", companyName=" + companyName
				+ ", fimalyAddr=" + fimalyAddr + ", status=" + status + ", customerSource1=" + customerSource1
				+ ", customerSource2=" + customerSource2 + ", uid=" + uid + ", childId=" + childId + ", userUUID="
				+ userUUID + ", hospitalId=" + hospitalId + ", openId=" + openId + ", institutionId=" + institutionId
				+ ", createTm=" + createTm + "]";
	}
}
